:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --text-dark: #333;
    --text-light: #777;
    --xy-primary: #ff5000;
    --xy-secondary: #ff6a00;
    --xy-light: #fff9f5;
    --xy-dark: #333;
    --xy-gray: #f5f5f5;
    --xy-border: #eee;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--xy-gray);
    color: #333;
    padding-top: 70px;
    overflow-x: hidden;
    background-color: #ECF0F1;
}



/* 左侧菜单 */
.left-panel {
    width: 220px;
    background: white;
    border-radius: 20px;
    padding: 0;
    margin-right: 20px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 1020;
    overflow-y: auto;
}

.personal_Information {
    padding: 15px 0;
}

.mine_personal_Information {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.mine_personal_Information.active {
    color: var(--xy-primary);
    background-color: rgba(255, 80, 0, 0.08);
    font-weight: 500;
    border-right: 3px solid var(--xy-primary) !important; /*左侧信息栏的选中颜色*/
}

.mine_personal_Information:hover {
    color: var(--xy-primary);
    background-color: rgba(255, 80, 0, 0.05);
}

.personal_Information .mine_order_Hidden,
.personal_Information .mine_personal_Information_Hidden {
    padding-left: 50px !important;
    padding-right: 20px !important;
}

.mine_personal_Information img:first-child {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.mine_personal_Information span {
    flex: 1;
}

.MytransactionPng, .AccountSettingsPng {
    width: 12px;
    height: 12px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.MytransactionAction.rotate, 
.AccountSettingsAction.rotate {
    transform: rotate(90deg);
}

.rotate {
    transform: rotate(90deg);
}

.needHidden {
    height: 0;
    padding: 0 !important; /* 清除原有padding */
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: block !important; /* 确保元素可见 */
}

.needHidden:hover {
    color: var(--xy-primary);
}

.needHidden.show {
    height: 40px;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
}


/* 中间内容区 */
.main-content {
    margin-left: 220px;
    margin-right: 220px;
    padding: 20px 30px 100px;
}

.follow-header {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.follow-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.follow-tab {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: all 0.3s;
}

.follow-tab.active {
    color: var(--primary-color);
}

.follow-tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.follow-search {
    display: flex;
    margin-bottom: 25px;
}

.follow-search input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    font-size: 15px;
}

.follow-search button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.follow-search button:hover {
    background-color: #2980b9;
}

.follow-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.follow-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

.follow-item:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.follow-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    margin-right: 20px;
}

.follow-content {
    flex: 1;
}

.follow-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.follow-name i {
    color: #f1c40f;
    margin-left: 8px;
    font-size: 16px;
}

.follow-info {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.follow-info span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.follow-info i {
    margin-right: 5px;
}

.follow-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.follow-tag {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.follow-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 120px;
}

.follow-btn {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.follow-btn.chat {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.follow-btn.chat:hover {
    background-color: var(--primary-color);
    color: white;
}

.follow-btn.unfollow {
    background-color: white;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.follow-btn.unfollow:hover {
    background-color: var(--accent-color);
    color: white;
}

.follow-stats {
    display: flex;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.follow-stat {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

.follow-stat strong {
    display: block;
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.empty-follow {
    text-align: center;
    padding: 50px 20px;
}

.empty-follow i {
    font-size: 70px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.empty-follow h4 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.empty-follow p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.3s;
}

.empty-btn:hover {
    background: #2980b9;
    color: white;
}

/* 右侧导航栏 */
.right-panel {
    width: 220px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1020;
    overflow-y: auto;
    margin-top: 10px;
}

.right-section {
    margin-bottom: 25px;
}

.right-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.right-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--xy-primary);
    border-radius: 3px;
}

.right-link {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.right-link:hover {
    color: var(--xy-primary);
    padding-left: 5px;
}

.right-link i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background: rgba(255, 80, 0, 0.1);
    color: var(--xy-primary);
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 12px;
    transition: all 0.2s;
}

.tag:hover {
    background: rgba(255, 80, 0, 0.2);
    cursor: pointer;
}

.ad-container {
    background: linear-gradient(135deg, #fff9f5, #ffeae1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #ffd9c7;
}

.ad-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff5000;
}

.ad-content {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.self_introduction{
    font-size: 12px;
}
.personal_Information>a{
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    color: #666;
}